package cn.felord.common.service.impl;

import cn.felord.common.entity.SysUser;
import cn.felord.common.mapper.SysUserMapper;
import cn.felord.common.service.ISysUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 系统用户表 服务实现类
 * </p>
 *
 * @author dax
 * @since 2018-09-09
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {
@Resource
private SysUserMapper sysUserMapper;
    @Override
    public SysUser queryUserByLoginName(String userName) {
        return sysUserMapper.queryUserByLoginName(userName);
    }
}
